package com.lanxin.zc.entity;

import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.time.LocalDate;
import com.baomidou.mybatisplus.annotation.TableId;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author 
 * @since 2025-07-16
 */
@TableName("zc_asset")
public class ZcAsset implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "oid", type = IdType.AUTO)
    private Integer oid;

    private Integer type;
    @TableField("assetCode")
    private String assetCode;
    @TableField("assetNumber")
    private String assetNumber;
    @TableField("assetName")
    private String assetName;

    private String guige;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @TableField("produceTime")
    private LocalDate produceTime;

    private Integer depositary;

    private Integer keeper;

    private BigDecimal price;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @TableField("regDate")
    private LocalDate regDate;
    @TableField("addType")
    private Integer addType;

    private String remark;

    private Integer jinban;
    @TableField("createDate")
    private LocalDateTime createDate;

    private Integer amount;

    private String status;

    public Integer getOid() {
        return oid;
    }

    public void setOid(Integer oid) {
        this.oid = oid;
    }
    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }
    public String getAssetCode() {
        return assetCode;
    }

    public void setAssetCode(String assetCode) {
        this.assetCode = assetCode;
    }
    public String getAssetNumber() {
        return assetNumber;
    }

    public void setAssetNumber(String assetNumber) {
        this.assetNumber = assetNumber;
    }
    public String getAssetName() {
        return assetName;
    }

    public void setAssetName(String assetName) {
        this.assetName = assetName;
    }
    public String getGuige() {
        return guige;
    }

    public void setGuige(String guige) {
        this.guige = guige;
    }
    public LocalDate getProduceTime() {
        return produceTime;
    }

    public void setProduceTime(LocalDate produceTime) {
        this.produceTime = produceTime;
    }
    public Integer getDepositary() {
        return depositary;
    }

    public void setDepositary(Integer depositary) {
        this.depositary = depositary;
    }
    public Integer getKeeper() {
        return keeper;
    }

    public void setKeeper(Integer keeper) {
        this.keeper = keeper;
    }
    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }
    public LocalDate getRegDate() {
        return regDate;
    }

    public void setRegDate(LocalDate regDate) {
        this.regDate = regDate;
    }
    public Integer getAddType() {
        return addType;
    }

    public void setAddType(Integer addType) {
        this.addType = addType;
    }
    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }
    public Integer getJinban() {
        return jinban;
    }

    public void setJinban(Integer jinban) {
        this.jinban = jinban;
    }
    public LocalDateTime getCreateDate() {
        return createDate;
    }

    public void setCreateDate(LocalDateTime createDate) {
        this.createDate = createDate;
    }
    public Integer getAmount() {
        return amount;
    }

    public void setAmount(Integer amount) {
        this.amount = amount;
    }
    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    @Override
    public String toString() {
        return "ZcAsset{" +
            "oid=" + oid +
            ", type=" + type +
            ", assetCode=" + assetCode +
            ", assetNumber=" + assetNumber +
            ", assetName=" + assetName +
            ", guige=" + guige +
            ", produceTime=" + produceTime +
            ", depositary=" + depositary +
            ", keeper=" + keeper +
            ", price=" + price +
            ", regDate=" + regDate +
            ", addType=" + addType +
            ", remark=" + remark +
            ", jinban=" + jinban +
            ", createDate=" + createDate +
            ", amount=" + amount +
            ", status=" + status +
        "}";
    }
}
